<?php
header('Content-type: text/xml');
require('setup.php');
include 'db.php';
$smarty = new Smarty_pigier();
$fb="false";
if (isset($_POST['delete']) && !empty($_POST['delete'])) {
		$conn=connectDB();
		$result=deleteFichier($_POST['delete']);
		if ($result) {
			$fb="true";
		}
}
	$smarty->assign('fb', $fb);
	$smarty->display('deletecours.tpl');
?>
